package com.jdk.demo.nio.bilibili.Maodun.net.qiujuer2.library.clink.core;

import java.io.InputStream;

/**发送包定义
 * @author Ziroom
 *
 */
public abstract class SendPacket<T extends InputStream> extends Packet<T> {

	private boolean isCanceled;

	public boolean isCanceled() {
		return isCanceled;
	}

	/**
     * 设置取消发送标记
     */
    public void cancel() {
        isCanceled = true;
    }
	
}
